<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="js/vue.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<span v-once>{{name}}</span>
			{{html}}
			<div v-html="html"></div>
		</div>

	</body>
	
	<script>
	
		var app = new Vue({
			el:'#app',
			data:{
				name:'张三',
				age:20,
				hobbies: '吃',
				html: '<h1>我是标题</h1>'
			}
		});
		

		
		

	</script>
</html>
